package com.sunlands.zlcx.usercenter.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import java.io.Serializable;

/**
 * @author shixiaopeng
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@DynamicUpdate
@DynamicInsert
public class VipVO implements Serializable {

    private static final long serialVersionUID = -1211975848079627189L;

    @ApiModelProperty(value = "用户表的id")
    private Long userId;

    @ApiModelProperty(value = "购买的卡id，月卡/季卡/年卡/冲刺卡/小时卡等")
    private Long setMealId;

    @ApiModelProperty(value = "操作类型，1购买，2退费")
    private Integer operateType;

    @ApiModelProperty(value = "订单号")
    private String orderNo;
}
